<?php

Configure::write('debug', 0);
$nooze = ($reminder['Reminder']['status'] == 0) ? $this->Html->link('Snooze', array(
            'controller' => 'reminders',
            'action' => 'accepted',
            $reminder['Reminder']['id'],
                ), array('title' => 'Snooze', 'class' => 'accepted')) : '';

echo
'<table cellspacing="0" class="servicesT" summary="Services, or Links box template">' .
 '<tr><td width="80">Event Name</td><td colspan="2" class="servBodL">' . $reminder['Reminder']['summary'] . '</td></tr>' .
 '<tr class="striped"><td>Start Time</td><td class="servBodL">' . date('m/d/Y', strtotime($reminder['Reminder']['dtstart'])) . '</td><td class="servBodL">00:00</td></tr>' .
 '<tr><td>End Time</td><td class="servBodL">' . date('m/d/Y', strtotime($reminder['Reminder']['dtstart'])) . '</td><td class="servBodL">23:59</td></tr>' .
 '<tr class="striped"><td>Description</td><td colspan="2" class="servBodL">Unpaid Amount: ' . number_format($reminder['Reminder']['unpaid'], 2) . ' ' . $reminder['Reminder']['currency'] . '</td></tr>' .
 '<tr><td style="text-align: right; padding-right: 3px" colspan="3" class="servBodL">' .
 $nooze .
 '<a title="Download" href="http://' . $_SERVER['HTTP_HOST'] . '/aih/ics/index.php?rid=' . $reminder['Reminder']['id'] . '">Download</a>' .
 '</td></tr>' .
 '</table>';
?>